

<% var pageLevelJS = { %>
<%include("/WEB-INF/views/btl/template/include/select2.html"){}%>
<script type="text/javascript" src="${acePath}/assets/js/spinbox.min.js"></script>
<script type="text/javascript">
var settings = {
			modelDomainFlag:"str"
		 ,modelName:"表信息"
		 ,modelFlag:"table"
		 ,key:"${sessionId}" 
		}
</script> 
<script type="text/javascript" src="${ctx}/static/js/str/table/edit.js"></script>
<%};%> 
<% var layoutParas =
{"title":"","add":isEmpty(data.id),"formId":"applyeditForm","pageLevelJS":pageLevelJS};
layout("/WEB-INF/views/btl/template/backBasicEditFormTemplate.html", layoutParas){ %>
	<input type="hidden" name="id" value="${data.id}">
 	<input type="hidden" required="required" name="schemaId" value="${data.schemaId}">
 	  <div class="form-group col-md-5">
	     <label class="required-before col-sm-3 control-label no-padding-right" for="nameEn">表名:</label>
	      <div class="col-sm-9 inline-height ">
			 <input type="text" oldval="${data.nameEn}" value="${data.nameEn}" class="validate[required,custom[validName],maxSize[50]] col-xs-10" name="nameEn" placeholder="表名">
		  </div> 
	</div>
		<div class="form-group col-md-5">
		     <label class="required-before col-sm-3 control-label no-padding-right" for="name">中文表名:</label>
		    <div class="col-sm-9 inline-height ">
					<input type="text" oldval="${data.name}" value="${data.name}" class="validate[required,maxSize[50]]  col-xs-10" name="name" placeholder="中文表名">
		  	</div> 
		</div>
	   <div class="form-group col-md-5">
			<label class="required-before col-sm-3 control-label no-padding-right"  for="sysClass">是否为系统表</label>
			 <div class="col-sm-9 inline-height ">
				<select placeholder="是否为系统表" name="sysClass" oldval="${data.sysClass}" class="validate[required] col-xs-10">
					<option value="true">是</option>
					<option value="false">否</option>
				</select>
			 </div>
	    </div>
	   <div class="form-group col-md-5">
			 <label class="required-before col-sm-3 control-label no-padding-right"  for="idTypeCode">主键生成方式</label>
			 <div class="col-sm-9 inline-height ">
					<select placeholder="主键生成方式" oldval="${data.idTypeCode!1}" name="idTypeCode" class="col-xs-10">
						<option value="1">自增</option>
						<option value="2">随机数</option>
						<option value="0">手动设置</option>
					</select>
			    </div>
	    </div>
		<div class="form-group col-md-5">
				<label class="required-before col-sm-3 control-label no-padding-right"  for="createdIndex">是否需要采集</label>
				 <div class="col-sm-9 inline-height ">
						<select placeholder="是否需要采集" oldval="${data.gatherClass}" name="gatherClass" class="validate[required] col-xs-10">
							<option value="true">是</option>
							<option value="false">否</option>
						</select>
			    </div>
		    </div>
		   <div class="form-group col-md-5">
				<label class="col-sm-3 control-label no-padding-right"  for="idMax">主键最大值(自增)：</label>
				 <div class="col-sm-9 inline-height ">
				    <span class="" name="indexNumLabel"></span>
					<input type="text" oldval="${data.idMax}" value="${data.idMax}" name="idMax" class="num col-xs-10" placeholder="" >
		    	</div>
		    </div>
	  <div class="form-group col-md-5">
	     <label for="remark" class="col-sm-3 control-label no-padding-right">备注:</label>
	     <div class="col-sm-9 inline-height">
		    <input type="text"   oldval="${data.remark}" value="${data.remark}" class="validate[maxSize[50]] col-xs-10" name="remark" placeholder="备注">
		  </div>
	  </div>	  
<%} %>
